﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GPSTrackingWebsiteManager
{
    public partial class Default : Telerik.Web.UI.RadAjaxPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (string.IsNullOrEmpty(Request.QueryString["GUID"]))
                {
                    SubMenu.Items.Add(new Telerik.Web.UI.RadMenuItem("Maestro", "MasterLogin.aspx"));
                }

                SubMenu.Items.Add(new Telerik.Web.UI.RadMenuItem("Administrador", "AdministratorLogin.aspx?GUID=" + Request.QueryString["GUID"]));
                SubMenu.Items.Add(new Telerik.Web.UI.RadMenuItem("Usuario", "UserLogin.aspx?GUID=" + Request.QueryString["GUID"]));                
            }                 
        }
    }
}